package com.kw.drug.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.kw.drug.entity.Owinfo;
import com.kw.drug.mapper.OwinfoMapper;
import org.springframework.beans.factory.annotation.Autowired;

public interface OwinforService {

    /**
     * 分页查询药品出入库数据
     *
     * @param pageNum  第几页
     * @param pageSize 每页多少条数据
     * @param param    查询参数-药品出入库名称
     * @return
     */
    public IPage<Owinfo> selectOwinfoPage(int pageNum, int pageSize, String param);


    /**
     * 修改一条药品出入库信息
     *
     * @param owinfo
     */


    public int editOwinfo(Owinfo owinfo);

    public Owinfo queryOwinfoById(Integer id);

    public Integer deleteOwinfoById(Integer id);

    /**
     * 增加商品出入库
     */
    public Integer owinfoAdd(Owinfo owinfo);
}
